<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>上传照片</title>

    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div>
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">网络相册</a>
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        <li><a href="/">全部相册 <span class="sr-only">(current)</span></a></li>
                        <li><a href="/uploadFiles">上传照片</a></li>
                    </ul>
                </div><!-- /.navbar-collapse -->
            </div><!-- /.container-fluid -->
        </nav>
    </div>
    <div>
        <ol class="breadcrumb">
            <li><a href="/">全部相册</a></li>
            <li><a href="#">上传照片</a></li>
        </ol>
    </div>
    <div class="container">
        <form action="#" method="post" enctype="multipart/form-data">
            <div class="form-group col-xs-3">
                <select class="form-control" name="uploadDirectory">
                    <% for (var i = 0; i < albums.length; i++) { %>
                        <option><%= albums[i]%></option>
                    <% } %>
                </select>
            </div>
            <div class="form-group col-xs-12">
                <label for="exampleInputFile">请选择要上传的照片(单张照片不要超过5M)</label>
                <input type="file" id="exampleInputFile" name="file">
            </div>
            <div class="col-xs-12">
                <button type="submit" class="btn btn-default">上传</button>
            </div>
        </form>
    </div>

<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>